package se.statemachine.fsm.mvcstyle;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class MockupView implements View{
	
	private ActionListener listener;
		
	public void createAction(String command){
		listener.actionPerformed(new ActionEvent(this, 0, command));
	}
	
	public void setActionListener(ActionListener listener){
		this.listener = listener;
	}

	public void initComponent(String passCommand, String coinCommand,
			String stateName) {
		// TODO Auto-generated method stub
		
	}

	public void setCurrentState(String currentState) {
		// TODO Auto-generated method stub
		
	}

	public void update() {
		// TODO Auto-generated method stub
		
	}

}
